package com.zky.service;

import com.zky.pojo.User;
import com.zky.util.Result;
import org.springframework.stereotype.Service;


public interface userService {
    Result<User>login(User user);
    Result<User>getUserInfo(String token);
    User selectUserById(int id);

    Result checkUserName(String username);

    Result regist(User user);
}
